home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- ***** BEGIN LICENSE BLOCK *****
- - Version: MPL 1.1/GPL 2.0/LGPL 2.1
- -
- - The contents of this file are subject to the Mozilla Public License Version
- - 1.1 (the "License"); you may not use this file except in compliance with
- - the License. You may obtain a copy of the License at
- - http://www.mozilla.org/MPL/
- -
- - Software distributed under the License is distributed on an "AS IS" basis,
- - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- - for the specific language governing rights and limitations under the
- - License.
- -
- - The Original Code is Mozilla Calendar code.
- -
- - The Initial Developer of the Original Code is
- - Philipp Kewisch <mozilla@kewis.ch>
- - Portions created by the Initial Developer are Copyright (C) 2007
- - the Initial Developer. All Rights Reserved.
- -
- - Contributor(s):
- - Simon Paquet <bugzilla@babylonsounds.com>
- -
- - Alternatively, the contents of this file may be used under the terms of
- - either the GNU General Public License Version 2 or later (the "GPL"), or
- - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- - in which case the provisions of the GPL or the LGPL are applicable instead
- - of those above. If you wish to allow use of your version of this file only
- - under the terms of either the GPL or the LGPL, and not to allow others to
- - use your version of this file under the terms of the MPL, indicate your
- - decision by deleting the provisions above and replace them with the notice
- - and other provisions required by the LGPL or the GPL. If you do not delete
- - the provisions above, a recipient may use your version of this file under
- - the terms of any one of the MPL, the GPL or the LGPL.
- -
- - ***** END LICENSE BLOCK ***** -->
-
- <!DOCTYPE overlay [
- <!ENTITY % calendarDTD SYSTEM "chrome://calendar/locale/calendar.dtd" >
- <!ENTITY % eventDialogDTD SYSTEM "chrome://calendar/locale/calendar-event-dialog.dtd">
- %calendarDTD;
- %eventDialogDTD;
- ]>
-
- <overlay id="calendar-common-sets-overlay"
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
- <stringbundleset id="calendar_stringbundles">
- <stringbundle id="bundle_branding" src="chrome://branding/locale/brand.properties"/>
- <stringbundle id="bundle_calendar" src="chrome://calendar/locale/calendar.properties"/>
- </stringbundleset>
- <script type="application/x-javascript" src="chrome://calendar/content/calendar-common-sets.js"/>
-
- <commandset id="calendar_commands"
- commandupdater="true"
- events="calendar_commands"
- oncommandupdate="calendarController.updateCommands()">
- <command id="calendar_new_event_command" oncommand="goDoCommand('calendar_new_event_command')"/>
- <command id="calendar_modify_event_command" oncommand="goDoCommand('calendar_modify_event_command')"/>
- <command id="calendar_delete_event_command" oncommand="goDoCommand('calendar_delete_event_command')"/>
-
- <command id="calendar_new_todo_command" oncommand="goDoCommand('calendar_new_todo_command')"/>
- <command id="calendar_modify_todo_command" oncommand="goDoCommand('calendar_modify_todo_command')"/>
- <command id="calendar_delete_todo_command" oncommand="goDoCommand('calendar_delete_todo_command')"/>
-
- <command id="calendar_new_calendar_command" oncommand="goDoCommand('calendar_new_calendar_command')"/>
- <command id="calendar_edit_calendar_command" oncommand="goDoCommand('calendar_edit_calendar_command')"/>
- <command id="calendar_delete_calendar_command" oncommand="goDoCommand('calendar_delete_calendar_command')"/>
-
- <command id="calendar_import_command" oncommand="goDoCommand('calendar_import_command')"/>
- <command id="calendar_export_command" oncommand="goDoCommand('calendar_export_command')"/>
- <command id="calendar_export_selection_command" oncommand="goDoCommand('calendar_export_selection_command')"/>
-
- <command id="calendar_publish_selected_calendar_command" oncommand="goDoCommand('calendar_publish_selected_calendar_command')"/>
- <command id="calendar_publish_calendar_command" oncommand="goDoCommand('calendar_publish_calendar_command')"/>
- <command id="calendar_publish_selected_events_command" oncommand="goDoCommand('calendar_publish_selected_events_command')"/>
-
- <command id="calendar_reload_remote_calendars" oncommand="goDoCommand('calendar_reload_remote_calendars')"/>
-
- <command id="calendar_show_unifinder_command" oncommand="toggleUnifinder()"/>
- <!-- The dash instead of the underscore is intended. the 'xxx-view' part should be the id of the view in the deck -->
- <command id="calendar_day-view_command" oncommand="showCalendarView('day')"/>
- <command id="calendar_week-view_command" oncommand="showCalendarView('week')"/>
- <command id="calendar_multiweek-view_command" oncommand="showCalendarView('multiweek')"/>
- <command id="calendar_month-view_command" oncommand="showCalendarView('month')"/>
- <command id="calendar_modify_todo_command" oncommand="goDoCommand('calendar_modify_todo_command')"/>
- <command id="calendar_task_category_command" oncommand="contextChangeTaskCategory(event);"/>
- <command id="calendar_percentComplete-0_command" oncommand="goDoCommand('calendar_percentComplete-0_command')"/>
- <command id="calendar_percentComplete-25_command" oncommand="goDoCommand('calendar_percentComplete-25_command')"/>
- <command id="calendar_percentComplete-50_command" oncommand="goDoCommand('calendar_percentComplete-50_command')"/>
- <command id="calendar_percentComplete-75_command" oncommand="goDoCommand('calendar_percentComplete-75_command')"/>
- <command id="calendar_percentComplete-100_command" oncommand="goDoCommand('calendar_percentComplete-100_command')"/>
- <command id="calendar_percentComplete-100_command2" oncommand="goDoCommand('calendar_percentComplete-100_command2')"/>
- <command id="calendar_priority-0_command" oncommand="goDoCommand('calendar_priority-0_command')"/>
- <command id="calendar_priority-9_command" oncommand="goDoCommand('calendar_priority-9_command')"/>
- <command id="calendar_priority-5_command" oncommand="goDoCommand('calendar_priority-5_command')"/>
- <command id="calendar_priority-1_command" oncommand="goDoCommand('calendar_priority-1_command')"/>
- <command id="calendar_general-priority_command" oncommand="goDoCommand('calendar_general-priority_command')"/>
- <command id="calendar_toggle_orientation_command" persist="checked" oncommand="toggleOrientation()" disabled="true"/>
- <command id="calendar_toggle_workdays_only_command" persist="checked" oncommand="toggleWorkdaysOnly()"/>
- <command id="calendar_toggle_tasks_in_view_command" persist="checked" oncommand="toggleTasksInView()"/>
-
- <command id="calendar_view_next_command" oncommand="moveView(1)"/>
- <command id="calendar_view_prev_command" oncommand="moveView(-1)"/>
-
- <command id="calendar_go_to_today_command" oncommand="goToDate(now())"/>
- </commandset>
-
- <popupset id="calendar-popupset">
-
- <!-- TASK ITEM CONTEXT MENU -->
- <menupopup id="taskitem-context-menu" onpopupshowing="changeContextMenuForTask(event);">
- <menuitem label="&calendar.context.newtodo.label;"
- accesskey="&calendar.context.newtodo.accesskey;"
- id="task-context-menu-new"
- command="calendar_new_todo_command"
- observes="calendar_new_todo_command"/>
- <menuitem id="task-context-menu-modify"
- label="&calendar.context.modifytask.label;"
- accesskey="&calendar.context.modifytask.accesskey;"
- command="calendar_modify_todo_command"/>
- <menuitem label="&calendar.context.deletetask.label;"
- accesskey="&calendar.context.deletetask.accesskey;"
- id="task-context-menu-delete"
- command="calendar_delete_todo_command"
- observes="calendar_delete_todo_command"/>
- <menuseparator/>
- <menuitem type="checkbox"
- label="&calendar.context.markcompleted.label;"
- accesskey="&calendar.context.markcompleted.accesskey;"
- id="calendar-context-markcompleted"
- oncommand="toggleCompleted(event)"/>
- <menu label="&calendar.context.progress.label;"
- accesskey="&calendar.context.progress.accesskey;"
- id="task-context-menu-progress">
- <menupopup id="calendar.context.progress-menu" onpopupshowing="changeTaskProgressMenu(event);">
- <menuitem type="checkbox"
- id="percent-0-menuitem"
- label="&progress.level.0;"
- accesskey="&progress.level.0.accesskey;"
- observes="calendar_percentComplete-0_command"
- command="calendar_percentComplete-0_command"/>
- <menuitem type="checkbox"
- id="percent-25-menuitem"
- label="&progress.level.25;"
- accesskey="&progress.level.25.accesskey;"
- observes="calendar_percentComplete-25_command"
- command="calendar_percentComplete-25_command"/>
- <menuitem type="checkbox"
- id="percent-50-menuitem"
- label="&progress.level.50;"
- accesskey="&progress.level.50.accesskey;"
- observes="calendar_percentComplete-50_command"
- command="calendar_percentComplete-50_command"/>
- <menuitem type="checkbox"
- id="percent-75-menuitem"
- label="&progress.level.75;"
- accesskey="&progress.level.75.accesskey;"
- observes="calendar_percentComplete-75_command"
- command="calendar_percentComplete-75_command"/>
- <menuitem type="checkbox"
- id="percent-100-menuitem"
- label="&progress.level.100;"
- accesskey="&progress.level.100.accesskey;"
- observes="calendar_percentComplete-100_command"
- command="calendar_percentComplete-100_command"/>
- </menupopup>
- </menu>
- <menu label="&calendar.context.priority.label;"
- accesskey="&calendar.context.priority.accesskey;"
- id="task-context-menu-priority">
- <menupopup id="calendar.context.priority-menu" onpopupshowing="changeTaskPriorityMenu(event)">
- <menuitem type="checkbox"
- id="priority-0-menuitem"
- label="&priority.level.none;"
- accesskey="&priority.level.none.accesskey;"
- command="calendar_priority-0_command"
- observes="calendar_priority-0_command"/>
- <menuitem type="checkbox"
- id="priority-9-menuitem"
- label="&priority.level.low;"
- accesskey="&priority.level.low.accesskey;"
- command="calendar_priority-9_command"
- observes="calendar_priority-9_command"/>
- <menuitem type="checkbox"
- id="priority-5-menuitem"
- label="&priority.level.medium;"
- accesskey="&priority.level.medium.accesskey;"
- command="calendar_priority-5_command"
- observes="calendar_priority-5_command"/>
- <menuitem type="checkbox"
- id="priority-1-menuitem"
- label="&priority.level.high;"
- accesskey="&priority.level.high.accesskey;"
- command="calendar_priority-1_command"
- observes="calendar_priority-1_command"/>
- </menupopup>
- </menu>
- <menu label="&calendar.calendar.label;"
- accesskey="&calendar.calendar.accesskey;"
- id="calendar-context-calendar-menu">
- <menupopup onpopupshowing="addCalendarNames(event);">
- </menupopup>
- </menu>
- <menuseparator/>
- <menu label="&calendar.context.convert.label;"
- accesskey="&calendar.context.convert.accesskey;"
- id="task-context-menu-convert">
- <menupopup>
- <menuitem label="&calendar.context.converttoevent.label;"
- accesskey="&calendar.context.converttoevent.accesskey;"
- id="calendar-context-converttoevent"
- oncommand="tasksToEvents()"/>
- <menuitem label="&calendar.context.converttomessage.label;"
- accesskey="&calendar.context.converttomessage.accesskey;"
- id="calendar-context-converttomessage"
- oncommand="tasksToMail()"/>
- </menupopup>
- </menu>
- </menupopup>
- </popupset>
-
- </overlay>
-
-